#include <iostream>

using namespace std;

int add(int num1, int num2)
{
    return num1 + num2;
}

int main(void)
{
    int n1 = 10;
    int n2 = 20;

    int sum = add(n1, n2);

    cout << "sum = " << sum << endl;

    return 0;
}